package dilmaj.client;

import com.google.gwt.user.client.ui.Button;

import dilmaj.shared.StarEntryVO;

public class StarSearchTriggerButton extends Button {
	String filter;
	StarPanel basePanel;
	
	public StarSearchTriggerButton(String filter, String caption, StarEntryVO baseVO, StarPanel basePanel) {
		super(caption);
		this.filter=filter;
		this.addClickHandler(new StarSearchTriggerButtonHandler(baseVO, basePanel));
		this.basePanel=basePanel;
	}
	
	public String getFilter() {
		return filter;
	}
}
